<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>Keylogger</title>
    <script type="text/javascript" charset="utf-8">
        function log (e) {
            document.getElementById('output').innerHTML += "<p>" + e.toString() + "</p>";
        }
    </script>
  </head>
  <body>
     <input type="text" id="receiver" onkeydown="log(this)">
     <div id="output"></div>
  </body>
</html>